package com.haruhi.mapper;

import com.haruhi.entity.UploadingFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UploadingFileMapper {

    int insert(UploadingFile uploadingFile);

    List<UploadingFile> getByCondition(UploadingFile uploadingFile);

    int deleteByMD5(@Param("md5") String md5,@Param("isDel") boolean isDel);

    int updateByCondition(@Param("col") UploadingFile uploadingFile,@Param("condition") UploadingFile condition);
}
